|
|
In article <43798cb2$1@news.povray.org>, "Slime" <fak### [at] emailaddress>
wrote:
::> any size you like but image must have width = 2 x height.
::
::No; regardless of an image's size, it will be treated the same way by
::POV-Ray. This means it will be squeezed into the unit square from <0,0,0> to
::<1,1,0>, even if doing so changes its proportions. (If spherical mapping is
::used, the image will similarly wrap all the way around the sphere no matter
::what its width or height is.) It's up to the user to resize the image as
::necessary.
::
:: - Slime
:: [ http://www.slimeland.com/ ]
ok just look at this samples :
the difference between the two images is only the ration of the source
image map.
when ratio is 1/2, circle is render as a cercle.
when ratio is 1/1, circle is render as an ellipse.
and the code is :
#declare ballPigment = pigment {
image_map {
png "image01.png" // or image02.png
map_type 1
interpolate 2
}
}
sphere {
<0, 0, 0> 0.5
pigment { ballPigment }
finish { ballFinish }
}
now, slime, can you tell me more ?
regards, klp
Post a reply to this message
Attachments:
Download 'map02.jpg' (8 KB)
Download 'map01.jpg' (8 KB)
Preview of image 'map02.jpg'
Preview of image 'map01.jpg'
|
|